package java面向对象.继承;

public class Dog extends Animal {
     private String color="黑色";
     public String getColor() {
         return color;

     }
     public void setColor(String color) {
         this.color = color;
     }

}
